* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
    padding: 0;
    margin: 0;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
    background-color: #333;
}

.pip {
    display: block;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin: 4px;
    background-color: #333;
    box-shadow: inset 0 3px #111, inset 0 -3px #555;
}

[class$="face"] {
    margin: 16px;
    padding: 4px;
    background-color: #e7e7e7;
    width: 104px;
    height: 104px;
    object-fit: contain;
    box-shadow: inset 0 5px white, inset 0 -5px #bbb, inset 5px 0 #d7d7d7, inset -5px 0 #d7d7d7;
    border-radius: 10%;
}

.first-face {
    display: flex;
    justify-content: center;
    align-items: center;
}

.second-face {
    display: flex;
    justify-content: space-between;
}

.second-face .pip:nth-child(2) {
    align-self: flex-end;
}

.third-face {
    display: flex;
}

.third-face .pip:nth-child(2) {
    align-self: center;
}

.third-face .pip:nth-child(3) {
    align-self: flex-end;
}

.forth-face {
    display: flex;
    justify-content: space-between;
}

.forth-face .column, .fifth-face .column, .sixth-face .column {
    flex-direction: column;
    display: flex;
    justify-content: space-between;
}

.fifth-face {
    display: flex;
}

.fifth-face>.pip {
    align-self: center;
}

.sixth-face {
    display: flex;
    justify-content: space-between;
}
